package hn.cch.framework.google.guice.service;


import com.google.inject.Inject;
import com.google.inject.name.Named;

public class NamedClass {


    @Inject
    @Named(value = "string")
    private String string;

    @Inject
    @FieldValue
    private String field;

    @Override
    public String toString() {
        return "NamedClass{" +
            "string='" + string + '\'' +
            ", field='" + field + '\'' +
            '}';
    }
}
